package com.yqg.protection.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * historical_data 实体类
 * @author zxf
 * @since 2024-01-01
 */
@Getter
@Setter
  @TableName("historical_data")
@ApiModel(value = "HistoricalData对象", description = "")
public class HistoricalData implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
      private Long id;

    private String equipmentId;

    private String type;
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private LocalDateTime upTime;

    private String status;

    private String address;

    private String warnType;

    private String warnTime;

    private String installId;

    private String organization;

    private String nameE;


}
